//package com.yonyou.gmmc.dealerApp.api.service;
//
//import java.util.HashMap;
//import java.util.Map;
//
//import org.apache.log4j.Logger;
//import org.marketing.common.constants.ResultMsgConstants;
//import org.marketing.common.dto.askingPrice.AskingPriceDto;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import org.springframework.transaction.annotation.Transactional;
//
//import com.ibm.icu.util.Calendar;
//
//@Service
//@Transactional
//public class CallAskPriceService {
//	private Logger logger = Logger.getLogger(CallAskPriceService.class);
//	
//	@Autowired
//    private AskingPriceDao askingPriceDao;
//
//	/**
//	 * 销售抢客户
//	 * @param askingPriceDto
//	 */
//	public void updateAskingPrice4rush(AskingPriceDto askingPriceDto) {
//		Calendar calendar = Calendar.getInstance();
//        calendar.setTime(new Date());
//        askingPriceDto.setUpdateDate(calendar.getTime());
//        askingPriceDto.setUpdateBy(askingPriceDto.getUserId());
//        askingPriceDao.updateAskingPriceStatus(askingPriceDto);
//        Map<String, Object> resultMap = new HashMap<String, Object>();
//        resultMap.put("resultCode", ResultMsgConstants.RESULT_CODE_SUCCESS);
//        resultMap.put(ResultMsgConstants.ERR_MSG, "");
//        return resultMap;
//	}
//}
